package com.lcj.bff.customer.service;

import com.lcj.bff.customer.controller.form.CustomerIdForm;
import com.lcj.bff.customer.controller.form.SearchCustomerVoucherByPageForm;
import com.lcj.bff.customer.controller.form.TakeVoucherForm;
import com.lcj.common.util.PageUtils;

public interface VoucherService {
    
    PageUtils searchUnTakeVoucherByPage(SearchCustomerVoucherByPageForm form);
    
    PageUtils searchUnUseVoucherByPage(SearchCustomerVoucherByPageForm form);
    
    PageUtils searchUsedVoucherByPage(SearchCustomerVoucherByPageForm form);

    long searchUnUseVoucherCount(CustomerIdForm form);

    boolean takeVoucher(TakeVoucherForm form);

}